package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.itheima.dao.AccessLogDao;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Log;
import com.itheima.service.AccessLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 操作日志
 */
@Service(interfaceClass = AccessLogService.class)
@Transactional
public class AccessLogServiceImpl implements AccessLogService {

    @Autowired
    private AccessLogDao accessLogDao;


    @Override
    public List<Log> findLogs() {
        return accessLogDao.findAll();

    }
}
